Optimal. Leaf size=35 \[ \frac{(A b-a B) \log \left (a+b x^2\right )}{2 b^2}+\frac{B x^2}{2 b} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.076657, antiderivative size = 35, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111 \[ \frac{(A b-a B) \log \left (a+b x^2\right )}{2 b^2}+\frac{B x^2}{2 b} \]
Antiderivative was successfully verified.
[In] Int[(x*(A + B*x^2))/(a + b*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{\int ^{x^{2}} B\, dx}{2 b} + \frac{\left (A b - B a\right ) \log{\left (a + b x^{2} \right )}}{2 b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x*(B*x**2+A)/(b*x**2+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0182298, size = 31, normalized size = 0.89 \[ \frac{(A b-a B) \log \left (a+b x^2\right )+b B x^2}{2 b^2} \]
Antiderivative was successfully verified.
[In] Integrate[(x*(A + B*x^2))/(a + b*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.005, size = 40, normalized size = 1.1 \[{\frac{B{x}^{2}}{2\,b}}+{\frac{\ln \left ( b{x}^{2}+a \right ) A}{2\,b}}-{\frac{\ln \left ( b{x}^{2}+a \right ) Ba}{2\,{b}^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x*(B*x^2+A)/(b*x^2+a),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.35526, size = 42, normalized size = 1.2 \[ \frac{B x^{2}}{2 \, b} - \frac{{\left (B a - A b\right )} \log \left (b x^{2} + a\right )}{2 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*x/(b*x^2 + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.228992, size = 41, normalized size = 1.17 \[ \frac{B b x^{2} -{\left (B a - A b\right )} \log \left (b x^{2} + a\right )}{2 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*x/(b*x^2 + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.52729, size = 27, normalized size = 0.77 \[ \frac{B x^{2}}{2 b} - \frac{\left (- A b + B a\right ) \log{\left (a + b x^{2} \right )}}{2 b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x*(B*x**2+A)/(b*x**2+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.245061, size = 43, normalized size = 1.23 \[ \frac{B x^{2}}{2 \, b} - \frac{{\left (B a - A b\right )}{\rm ln}\left ({\left | b x^{2} + a \right |}\right )}{2 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*x/(b*x^2 + a),x, algorithm="giac")
[Out]